package com.resign.carl.abstractfactory.api.impl;

import com.resign.carl.abstractfactory.api.Button;
import com.resign.carl.abstractfactory.api.ComboBox;
import com.resign.carl.abstractfactory.api.SkinFactory;
import com.resign.carl.abstractfactory.api.TextField;

/**
 * Created by carl.zhao on 2016/6/14.
 */
public class SpringSkinFactory implements SkinFactory {
    @Override
    public Button createButton() {
        return new SpringButton();
    }

    @Override
    public TextField createTextField() {
        return new SpringTextField();
    }

    @Override
    public ComboBox createComboBox() {
        return new SpringComboBox();
    }
}
